package com.yuda.afterexamscore.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.yuda.common.core.annotation.Excel;
import com.yuda.common.core.web.domain.BaseEntity;

/**
 * 题目维度关系对象 th_dimension_question
 *
 * @author wyn
 * @date 2021-05-12
 */
public class ThDimensionQuestion extends BaseEntity
{
    private static long serialVersionUID = 1L;

    /** 主键id */
//    @Excel(name = "uuid")
    private String uuid;

    /** 编号（K1,K2...） */
//    @Excel(name = "编号", readConverterExp = "K=1,K2...")
    @Excel(name = "编号")
    private String sortNum;

    /** 考点名称 */
    @Excel(name = "考点名称")
    private String dimensionName;

    /** 卷面上题号 */
    @Excel(name = "卷面上的题号")
    private String questionIndex;

    /** 打题时题目id */
    @Excel(name = "答题时题目id")
    private String questionId;

    /** 科目id */
//    @Excel(name = "科目id")
    private Long subjectId;

    @Excel(name = "大类科目名称")
    /*科目对应的名称* */
    private String subjectName;
    /** 关联科目id */
//    @Excel(name = "关联科目id")
    private Long subjectRelationId;

    @Excel(name="子类科目名称")
    /*关联科目id对应的名字*/
    private String SubjectRealtionName;

    /** 100是文科，200是理科，300文理都考 */
//    @Excel(name = "province_id")
    private Long provinceId;

    /** $column.columnComment */
//    @Excel(name = "dIndex")
    private Long dIndex;

    public void setUuid(String uuid)
    {
        this.uuid = uuid;
    }

    public String getUuid()
    {
        return uuid;
    }
    public void setSortNum(String sortNum)
    {
        this.sortNum = sortNum;
    }

    public String getSortNum()
    {
        return sortNum;
    }
    public void setDimensionName(String dimensionName)
    {
        this.dimensionName = dimensionName;
    }

    public String getDimensionName()
    {
        return dimensionName;
    }
    public void setQuestionIndex(String questionIndex)
    {
        this.questionIndex = questionIndex;
    }

    public String getQuestionIndex()
    {
        return questionIndex;
    }
    public void setQuestionId(String questionId)
    {
        this.questionId = questionId;
    }

    public String getQuestionId()
    {
        return questionId;
    }
    public void setSubjectId(Long subjectId)
    {
        this.subjectId = subjectId;
    }

    public Long getSubjectId()
    {
        return subjectId;
    }
    public void setSubjectRelationId(Long subjectRelationId)
    {
        this.subjectRelationId = subjectRelationId;
    }

    public Long getSubjectRelationId()
    {
        return subjectRelationId;
    }
    public void setProvinceId(Long provinceId)
    {
        this.provinceId = provinceId;
    }

    public Long getProvinceId()
    {
        return provinceId;
    }
    public void setdIndex(Long dIndex)
    {
        this.dIndex = dIndex;
    }

    public Long getdIndex()
    {
        return dIndex;
    }

    public String getSubjectName() {
        return subjectName;
    }

    public void setSubjectName(String subjectName) {
        this.subjectName = subjectName;
    }

    public String getSubjectRealtionName() {
        return SubjectRealtionName;
    }

    public void setSubjectRealtionName(String subjectRealtionName) {
        SubjectRealtionName = subjectRealtionName;
    }

    @Override
    public String toString() {
        return "ThDimensionQuestion{" +
                "uuid='" + uuid + '\'' +
                ", sortNum='" + sortNum + '\'' +
                ", dimensionName='" + dimensionName + '\'' +
                ", questionIndex='" + questionIndex + '\'' +
                ", questionId='" + questionId + '\'' +
                ", subjectId=" + subjectId +
                ", subjectName='" + subjectName + '\'' +
                ", subjectRelationId=" + subjectRelationId +
                ", SubjectRealtionName='" + SubjectRealtionName + '\'' +
                ", provinceId=" + provinceId +
                ", dIndex=" + dIndex +
                '}';
    }
    public String changeToString(){
        return sortNum+"%"+dimensionName+"%"+questionIndex+"%"+subjectName+"%"+SubjectRealtionName;
    }
}
